//
//  BcBook+CoreDataProperties.swift
//  CoreDataSwift
//
//  Created by liuxiang on 2018/1/9.
//  Copyright © 2018年 liuxiang. All rights reserved.
//
//

import Foundation
import CoreData


extension BcBook {

    @nonobjc public class func fetchRequest() -> NSFetchRequest<BcBook> {
        return NSFetchRequest<BcBook>(entityName: "BcBook")
    }

    @NSManaged public var bookAuthor: String?
    @NSManaged public var bookDescribe: String?
    @NSManaged public var bookHits: Int64
    @NSManaged public var bookId: Int16
    @NSManaged public var bookISBN: String?
    @NSManaged public var bookName: String?
    @NSManaged public var bookNum: Int64
    @NSManaged public var bookOther: String?
    @NSManaged public var bookPage: Int32
    @NSManaged public var bookPhoto: String?
    @NSManaged public var bookPrice: Double
    @NSManaged public var bookPub: String?
    @NSManaged public var bookPubTime: String?
    @NSManaged public var bookSale: Int16
    @NSManaged public var bookShowIndex: Int32
    @NSManaged public var bookStorageTime: NSDate?
    @NSManaged public var childTypeId: Int32
    @NSManaged public var item: NSSet?

}

// MARK: Generated accessors for item
extension BcBook {

    @objc(addItemObject:)
    @NSManaged public func addToItem(_ value: BcItem)

    @objc(removeItemObject:)
    @NSManaged public func removeFromItem(_ value: BcItem)

    @objc(addItem:)
    @NSManaged public func addToItem(_ values: NSSet)

    @objc(removeItem:)
    @NSManaged public func removeFromItem(_ values: NSSet)

}
